package com.example.service.webhook.business.bank.entity;

import com.example.service.webhook.repository.base.Saveable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Modified by liyang on 20171019 接口升级
 */
@JsonIgnoreProperties(value = { "primaryVal", "keyColumns", "tableName" }, ignoreUnknown = true)
public class BankBillEntity implements Saveable{
	
	private long id;
	private String billId;
    private String cardId;
    private String userId;
    private String bankName;
    private String cardType;
    private String billMonth;
    private String billDate;
    private String paymentDueDate;
    private BigDecimal newBalance;
    private BigDecimal usdNewBalance;
    private BigDecimal minPayment;
    private BigDecimal usdMinPayment;
    private BigDecimal lastBalance;
    private BigDecimal usdLastBalance;
    private BigDecimal lastPayment;
    private BigDecimal usdLastPayment;
    private BigDecimal newCharges;
    private BigDecimal usdNewCharges;
    private BigDecimal interest;
    private BigDecimal usdInterest;
    private BigDecimal creditLimit;
    private BigDecimal usdCreditLimit;
    private BigDecimal cashLimit;
    private BigDecimal usdCashLimit;
    private String cardNums;
    private String fullCardNums;
    private String nameOnCard;
    private Integer billItemCount;
    private Date createTime;
    private Date lastModifyTime;

    /**
     * 说明：20171019接口升级，新增字段
     * 调整金额
     */
    private BigDecimal adjust;

    /**
     * 说明：20171019接口升级，新增字段
     * 调整金额-美元
     */
    private BigDecimal usdAdjust;
    
    private static final String[] keyColumns       = { "id" };
    private static final String   tableName        = "t_bankbill";

    @Override
    public String getTableName() {
        return tableName;
    }

    @Override
    public String[] getKeyColumns() {
        return keyColumns;
    }
    
    @Override
    public String getPrimaryVal() {
        return String.valueOf(id);
    }
    

    public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	
	
	
	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

	public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    

    public String getBillId() {
		return billId;
	}

	public void setBillId(String billId) {
		this.billId = billId;
	}

	public Integer getBillItemCount() {
        return billItemCount;
    }

    public void setBillItemCount(Integer billItemCount) {
        this.billItemCount = billItemCount;
    }

    

    public String getBillMonth() {
		return billMonth;
	}

	public void setBillMonth(String billMonth) {
		this.billMonth = billMonth;
	}

	public String getBillDate() {
        return billDate;
    }

    public void setBillDate(String billDate) {
        this.billDate = billDate;
    }

    public String getPaymentDueDate() {
        return paymentDueDate;
    }

    public void setPaymentDueDate(String paymentDueDate) {
        this.paymentDueDate = paymentDueDate;
    }

    public BigDecimal getNewBalance() {
        return newBalance;
    }

    public void setNewBalance(BigDecimal newBalance) {
        this.newBalance = newBalance;
    }

    public BigDecimal getUsdNewBalance() {
        return usdNewBalance;
    }

    public void setUsdNewBalance(BigDecimal usdNewBalance) {
        this.usdNewBalance = usdNewBalance;
    }

    public BigDecimal getMinPayment() {
        return minPayment;
    }

    public void setMinPayment(BigDecimal minPayment) {
        this.minPayment = minPayment;
    }

    public BigDecimal getUsdMinPayment() {
        return usdMinPayment;
    }

    public void setUsdMinPayment(BigDecimal usdMinPayment) {
        this.usdMinPayment = usdMinPayment;
    }

    public BigDecimal getLastBalance() {
        return lastBalance;
    }

    public void setLastBalance(BigDecimal lastBalance) {
        this.lastBalance = lastBalance;
    }

    public BigDecimal getUsdLastBalance() {
        return usdLastBalance;
    }

    public void setUsdLastBalance(BigDecimal usdLastBalance) {
        this.usdLastBalance = usdLastBalance;
    }

    public BigDecimal getLastPayment() {
        return lastPayment;
    }

    public void setLastPayment(BigDecimal lastPayment) {
        this.lastPayment = lastPayment;
    }

    public BigDecimal getUsdLastPayment() {
        return usdLastPayment;
    }

    public void setUsdLastPayment(BigDecimal usdLastPayment) {
        this.usdLastPayment = usdLastPayment;
    }

    public BigDecimal getNewCharges() {
        return newCharges;
    }

    public void setNewCharges(BigDecimal newCharges) {
        this.newCharges = newCharges;
    }

    public BigDecimal getUsdNewCharges() {
        return usdNewCharges;
    }

    public void setUsdNewCharges(BigDecimal usdNewCharges) {
        this.usdNewCharges = usdNewCharges;
    }

    public BigDecimal getInterest() {
        return interest;
    }

    public void setInterest(BigDecimal interest) {
        this.interest = interest;
    }

    public BigDecimal getUsdInterest() {
        return usdInterest;
    }

    public void setUsdInterest(BigDecimal usdInterest) {
        this.usdInterest = usdInterest;
    }

    public BigDecimal getCreditLimit() {
        return creditLimit;
    }

    public void setCreditLimit(BigDecimal creditLimit) {
        this.creditLimit = creditLimit;
    }

    public BigDecimal getUsdCreditLimit() {
        return usdCreditLimit;
    }

    public void setUsdCreditLimit(BigDecimal usdCreditLimit) {
        this.usdCreditLimit = usdCreditLimit;
    }

    public BigDecimal getCashLimit() {
        return cashLimit;
    }

    public void setCashLimit(BigDecimal cashLimit) {
        this.cashLimit = cashLimit;
    }

    public BigDecimal getUsdCashLimit() {
        return usdCashLimit;
    }

    public void setUsdCashLimit(BigDecimal usdCashLimit) {
        this.usdCashLimit = usdCashLimit;
    }

    public String getCardNums() {
        return cardNums;
    }

    public void setCardNums(String cardNums) {
        this.cardNums = cardNums;
    }

    public String getFullCardNums() {
        return fullCardNums;
    }

    public void setFullCardNums(String fullCardNums) {
        this.fullCardNums = fullCardNums;
    }

    public String getNameOnCard() {
        return nameOnCard;
    }

    public void setNameOnCard(String nameOnCard) {
        this.nameOnCard = nameOnCard;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public BigDecimal getAdjust() {
        return adjust;
    }

    public void setAdjust(BigDecimal adjust) {
        this.adjust = adjust;
    }

    public BigDecimal getUsdAdjust() {
        return usdAdjust;
    }

    public void setUsdAdjust(BigDecimal usdAdjust) {
        this.usdAdjust = usdAdjust;
    }
}
